<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./article css/list.css">
</head>

<body>
    <div class="layui-card">
        <div class="layui-card-header">文章列表</div>
        <div class="layui-card-body">
            <!-- 内容区一：表单搜索区 start -->
            <form class="layui-form" action="" id="search" lay-filter="select">
                <div class="layui-form-item">

                    <div class="layui-inline">
                        <div class="layui-input-inline" style="width: 200px;">
                            <select name="category" id="category" lay-verify="" id="category">
                                <option value="">请选择类别</option>
                                <!-- <option value="010">北京</option>
                                <option value="021">上海</option>
                                <option value="0571">杭州</option> -->
                            </select>
                        </div>
                        <div class="layui-input-inline" style="width: 200px;">
                            <select name="state" id="state" lay-verify="">
                                <option value="">请选择状态</option>
                                <option value="草稿">草稿</option>
                                <option value="已发布">已发布</option>

                            </select>
                        </div>
                    </div>

                    <div class="layui-inline">
                        <div class="layui-input-inline" style="width: 100px;">
                            <button class="layui-btn" lay-submit lay-filter="formDemo" id="btn">筛选</button>
                        </div>
                    </div>

                </div>
            </form>
            <!-- 内容区一：表单搜索区 end -->

            <!-- 内容区二：表格区 start -->
            <table class="layui-table">
                <colgroup>
                    <col width="35%">
                    <col width="17%">
                    <col width="17%">
                    <col width="17%">
                    <col>
                </colgroup>
                <thead>
                    <tr>
                        <th>文章标题</th>
                        <th>分类</th>
                        <th>发布时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <!-- <tr>
                        <td>人生感悟</td>
                        <td>娱乐</td>
                        <td>2021-06-12 12:10:10</td>
                        <td>已发布</td>
                        <td>
                            <button type="button" class="layui-btn layui-btn-xs">编辑</button>
                            <button type="button" class="layui-btn layui-btn-xs layui-btn-danger">删除</button>
                        </td>
                    </tr> -->
                </tbody>
            </table>
            <!-- 内容区二：表格区 end -->

            <!-- 内容区三：分页区 start -->
            <div id="page"></div>
            <!-- 内容区三：分页区 end -->
        </div>
    </div>

    <script src="../assets/lib/layui/layui.js"></script>
    <script src="../assets/lib/jquery.js"></script>
    <script src="../assets/js/common.js"></script>
    <script src="./article js/list.js"></script>
</body>

</html>